/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Blackjack.Condiciones;

import Blackjack.MesaBkjk;
import prop.Condicion;

/**
 *
 * @author Red
 */
public class CondicionCartaCroupier extends Condicion {
    @Override
    public boolean evalua() {
        MesaBkjk mesa = (MesaBkjk)estrategia.getMesa();
        String s = Integer.toString(mesa.getCroupier().getMano().getCarta(1).getNum());
        estrategia.setValor(parametros.get(0), s);
        return true;
    }
}

